package com.chenhao.springcloud.chenhaohystrixservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 *
 * 启动类
 * @author chenhao
 *
 * @date 2020/4/10 15:26
 */
@EnableCircuitBreaker
@EnableDiscoveryClient
@SpringBootApplication
public class ChenhaoHystrixServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ChenhaoHystrixServiceApplication.class, args);
    }

}
